* QCONFIG.WS -- Configuration file for QEDIT2 to emulate WordStar 5.x * * First Written: 13-Dec-90 Tim Farley Based on QCONFIG.WS * For QEdit 2.1. * * ------------------------------------------------------------------------ * NOTE: WE RECOMMEND YOU PRINT THIS FILE OUT AND REFER TO IT AS YOU * RUN THE QCONFIG PROGRAM TO CONFIGURE YOUR COPY OF QEDIT. * * This configuration also contains most of the Alt and Function keys * that QEdit uses by default (most of which are not functional in WordStar). * * The following commands that are in the default QCONFIG.DAT are not * assigned here, so you might want to find keys for them: * * InsertLine, MakeCtrOfScreen, MakeTopOfScreen, MarkLine, Match, * ShiftLeft, ShiftRight * * NOTE: There are also other commands in the manual that aren't assigned * keys, even in the default QCONFIG.DAT. * * ------------------------------------------------------------------------ * * Below are other QCONFIG options you should set to closely duplicate * the default WS5 configuration. You will have to select these * from the menus within QCONFIG. For any options not listed here, just * hit to keep the default, or configure to your preference: * * (A)dvanced options: * ------------------- * . * Do you want the return command to split lines in insert mode? [Y] : YES * . * Do you want the ESCAPE command to invoke the menus? [Y] : NO * * * (G)eneral options: * ------------------ * Do you want the del_ch command to join lines if at EOL? [Y] : YES * Should PQuit, Exit and File return to the edit file prompt? [Y] : YES * . * Delete white space after words with del_rt_word command (Y/N)? [Y] : NO * . * Terminate files with a Control Z? [N] : YES * . * Prompt for filename on open window? [N] : YES * Close window when a file is quit? [Y] : YES * . * Insert line blocks ABOVE the cursor line? [N] : YES * * ------------------------------------------------------------------------ * SEE DEFAULT QCONFIG.DAT FOR FURTHER INSTRUCTIONS ON MODIFYING THIS FILE. * * * function key set * f1 QuickHelp * * F2 is Undo, which both recovers deleted text & cancels pending operations. * See also ^U for the same command. * NOTE: WS5 only recovers one deleted item, QEdit will keep a list. * f2 MacroBegin UnKill Jump skip: Escape skip: * * F3 and F4 select print attributes in WS5. QEdit has no equivalent. * * So we put the orphaned EditFile on F3. * f3 EditFile f4 f5 DelLine f6 DelRtWord f7 MacroBegin WrapPara PrevPosition * * F8 inserts a ruler line in WS5. QEdit doesn't have one. * f8 f9 SaveFile * * F10 does save/done when editing, and completes dialog boxes too. * The jump here lets us do both. * f10 MacroBegin File Jump skip: Return skip: * enhanced keyboard only f11 f12 * * #F1 is Display On/Off in WS5. QEdit doesn't have that. * #f1 #f2 CenterLine * * #F3 and #F4 are Spell checks in WS5. QEdit doesn't have a spelling * checker, so we retain the defaults. * #f3 Sort #f4 #f5 DeleteBlock #f6 UnmarkBlock #f7 MoveBlock * * CopyBlock leaves the *source* marked in WS5. QEdit always leaves the * *destination* marked. * #f8 CopyBlock #f9 MarkBlockBegin #f10 MarkBlockEnd * enhanced keyboard only #f11 #f12 ^f1 Find ^f2 FindReplace ^f3 RepeatFind ^f4 GotoLine ^f5 SetPrintLeftMargin ^f6 SetRmargin * * ^F7 is set paragraph margin in WS5. No equivalent in QEdit. * ^f7 ^f8 MacroBegin BegLine #12 SplitLine CursorDown BegLine ^f9 BegLine ^f10 EndLine * enhanced keyboard only ^f11 ^f12 * * To *exactly* emulate WordStar, the Alt-Function keys would have these * definitions: * * @f1 MacroBegin #179 * @f2 MacroBegin #196 * @f3 MacroBegin #218 * @f4 MacroBegin #191 * @f5 MacroBegin #192 * @f6 MacroBegin #217 * @f7 MacroBegin #194 * @f8 MacroBegin #193 * @f9 MacroBegin #195 * @f10 MacroBegin #180 * * ...but since QEdit has a much better BoxDraw mode, we will put that * here instead, along with a few other commands that got stranded: * @f1 ToggleBoxType @f2 ToggleBoxDraw @f3 ToggleSmartTabs @f4 ToggleEGA43 @f5 ScreenLeft @f6 ScreenRight @f7 Shell @f8 @f9 Dos @f10 ShowEntryScreen * enhanced keyboard only @f11 @f12 * * special keys * cursorup CursorUp cursordown CursorDown cursorleft CursorLeft cursorright CursorRight ^cursorleft WordLeft ^cursorright WordRight * * You might prefer BegLine and EndLine for the next two * home MacroBegin BegScreen BegLine end MacroBegin EndScreen EndLine ^home BegFile ^end EndFile pgup PageUp pgdn PageDown ^pgup ScrollUp ^pgdn ScrollDown #tab TabLt tab TabRt ins ToggleInsert * * NOTE: If you would prefer the WordStar 3.x originals, change the next * three definitions to the following: * * del Backspace * backspace Cursorleft * ^backspace Backspace * del DelCh * * QEdit has a command Backspace for the Backspace key. But it behaves a little * differently in Insert Mode than it does in Overwrite Mode. * * This macro makes backspace work the way it does in INSERT MODE, * regardless of whether we are in insert mode now or not. This is closest * to WordStar 5's use of Backspace. * backspace MacroBegin CursorLeft JFalse join: DelCh Jump end: join: CursorUp JFalse end: EndLine JoinLine end: ^backspace DelCh enter Return ^enter ExecuteScrap escape Escape * * These are QEdit definitions we will retain. Remove the words Paste, Copy * and Cut on the next three lines if you would prefer these keys retain * their WS5 definitions. * grey* Paste grey+ Copy grey- Cut #del #ins ` ~ / ^prtsc MacroBegin SaveFile MainMenu "P" BegLine ^2 ^6 ToggleIndent ^[ Escape ^\ * * Macro to edit the file whose name is sitting at the cursor in the editor * ^] MacroBegin AltWordSet MarkWord Copy DefaultWordSet EditFile Paste Return * * The following is an undocumented window sizing key in WS5. Cannot emulate * in QEdit because window sizing depends on window position in QEdit. * ^- * * alternate keys * * Only the ones that invoke the menus are from WS5, the rest are from * the default QEdit definition. * @a DropAnchor @b MacroBegin MainMenu 'b' @c CopyBlock @d DelLine @e MacroBegin MainMenu 'e' @f MacroBegin MainMenu 'f' * * There is no "Goto" menu in QEdit, so we will go to the Search menu, which * is closest. * @g MacroBegin MainMenu 's' @h QuickHelp @i ToggleTabsOut @j JoinLine @k MarkColumn * * There is no "Layout" menu in QEdit, so we will go to the Print menu, which * is closest. * @l MacroBegin MainMenu 'p' @m MacroBegin MainMenu 'm' @n NextFile @o MacroBegin MainMenu 'o' @p MacroBegin MainMenu 'p' @q MacroBegin MainMenu 'q' @r ReadBlock @s MacroBegin MainMenu 's' * * These next three start with Control-B in the default. * We make them Alt-T (for "text buffers") to free up Control-B for WrapPara. * @t_a AppendScrBuff @t_l GetScrBuff @t_s StoreScrBuff @u UnmarkBlock @v ToggleTabsExpand @w MacroBegin MainMenu 'w' @x GExit @y GSave @z CopyOverBlock @1 Upper @2 Lower @3 Flip @4 @5 @6 @7 @8 @9 @0 @- * * This is a QEdit default macro, not WS5. * @= MacroBegin MarkWord Copy Find Paste Return Return * * control keys * ^a WordLeft ^b WrapPara ^c PageDown ^d CursorRight ^e CursorUp ^f WordRight ^g DelCh * * You might prefer "Backspace" for the following key: * ^h MacroBegin CursorLeft JFalse join: DelCh Jump end: join: CursorUp JFalse end: EndLine JoinLine end: ^i TabRt ^j QuickHelp * * BLOCK COMMANDS (^K) * * Note that unlike WordStar, QEdit makes no distinction between copying within * one window, and copying between two windows. There is only one block marked * at any given moment. * ^k_a CopyBlock ^k_b MarkBlockBegin ^k_c CopyBlock ^k_d File * * ^KE lets you rename an arbitrary file in WordStar. QEdit only lets you * rename THIS file. * ^k_e ChangeFilename ^k_f Dos * * Note that unlike WordStar, QEdit makes no distinction between moving within * one window, and moving between two windows. There is only one block marked * at any given moment. * ^k_g MoveBlock ^k_h UnmarkBlock * * Column Replace mode doesn't exist in QEdit. However, you can use QEdit's * CopyOverBlock and PasteOver to achieve the same thing. * ^k_i * * NOTE: This kills the *current* file on disk in QEdit, while in WordStar * it prompts you for what file to kill. * ^k_j KillFile ^k_k MarkBlockEnd * * ^KL (changed logged disk) has no equivalent in QEdit. You can achieve * the same thing by hitting ^KF then typing the equivalent DOS command. * ^k_l * * QEdit doesn't have any math functions to put on ^KM. * ^k_m * * ^KN should be "toggle column block", but QEdit doesn't do that. Use * the MarkColumn command to work with column blocks. * ^k_n NextFile * * ^KO (copy a file) could be done with a macro in QEdit * ^k_o * * ^KP is close to PrintAll in original WordStar, but PrintBlock is safer * ^k_p PrintBlock ^k_q PQuit ^k_r ReadBlock ^k_s SaveFile * * WS5's ^KT is "save as". In QEdit, WriteBlock does that if NO BLOCK IS MARKED. * ^k_t WriteBlock ^k_u ^k_v MoveBlock ^k_w WriteBlock ^k_x File ^k_y DeleteBlock * * QEdit's sort works a little differently than WS5's does. Be sure to * read the READ.ME file on how to use QEdit's Sort. * ^k_z Sort ^l RepeatFind * * Ctrl-M should be synonymous with Return, but we'll bow to QEdit's convention * ^m MacroRecord ^n SplitLine * * ONSCREEN COMMANDS (^O) * * There are no equivalents for the next two in QEdit. * ^o_a ^o_b ^o_c CenterLine * * There are no equivalents for the next four in QEdit. * ^o_d ^o_e ^o_g ^o_h ^o_i SetCtabWidth * * ^OJ is "toggle justification" which QEdit doesn't have * ^o_j ^o_k HorizontalWindow ^o_l SetPrintLeftMargin ^o_m ResizeWindow * * QEdit doesn't have the next three, so we will retain QEdit's definitions. * ^o_n NextWindow ^o_o OneWindow ^o_p PrevWindow * ^o_r SetRMargin * * QEdit doesn't have the next three. * ^o_s ^o_t ^o_v * ^o_w ToggleWordWrap * * QEdit doesn't have an equivalent for release margins, ToggleWordWrap is close. * ^o_x ToggleWordWrap * * This is a QEdit definition * ^o_z ZoomWindow * ^p Literal * * QUICK COMMANDS (^Q) * ^q_a FindReplace ^q_b GotoBlockBeg ^q_c EndFile ^q_d EndLine ^q_e BegScreen ^q_f Find * * QEdit has no "find character," just use the normal Find. * ^q_g ^q_h ^q_i GotoLine * * QEdit does not have the following one. * ^q_j ^q_k GotoBlockEnd * * Since QEdit doesn't have a spell checker, we will retain it's original * definition for the next one. * ^q_l UndoCursorline * * QEdit doesn't have equivalents for the next three. * ^q_m ^q_n ^q_o * ^q_p PrevPosition * * ^QQ repeats the *following* command in WS5. In QEdit it repeats the * *previous* command. * ^q_q RepeatCmd ^q_r BegFile ^q_s BegLine * * QEdit has no equivalent for the following. * ^q_t * * Hit <1000> to simulate the following. * ^q_u * * ^QV does "Last Find" in WordStar. This is pretty close. * ^q_v PrevPosition * * ^QW (continuous scroll down) has no equivalent in QEdit * ^q_w ^q_x EndScreen ^q_y DelToEol * * ^QZ (continuous scroll up) has no equivalent in QEdit * ^q_z * * The following two are actually "delete to begin of line", but this is * close as we can come, since we can't do macros on two-keys. * ^q_del DelLtWord ^q_^- DelLtWord * ^r PageUp ^s CursorLeft ^t DelRtWord ^u MacroBegin UnKill Jump skip: Escape skip: ^v ToggleInsert ^w ScrollUp ^x CursorDown ^y DelLine ^z ScrollDown * * other enhanced only keys * @' @, @. @/ @; @[ @\ @] @` @backspace @enter @escape @grey* PasteOver @grey+ @grey- @grey/ @greycursordown @greycursorleft @greycursorright @greycursorup @greydel @greyend @greyhome @greyins @greypgdn @greypgup @greyenter @tab greyenter Return ^greyenter ExecuteScrap ^centercursor ^cursordown LineDown ^cursorup LineUp ^del ^grey* ^grey+ ^grey- ^grey/ ^ins ^tab centercursor * * EOF: QCONFIG.WS5 *